package com.aw.baselib.base;

import android.os.Environment;

import java.io.File;

/**
 * Created by hzw
 */

public class AwBaseConstant {

    public class Popupwindow {
        public static final float POPUPWINDOW_DARK = 0.5f;
        public static final float POPUPWINDOW_NORMAL = 1.0f;
    }

    /**
     * 透明或无布局文件
     */
    public static final int LAYOUT_TRANSPARENT = -1;
    /**
     * APP 资源路径
     */
    public static final String PAHT_APP_DERECTORY = Environment.getExternalStorageDirectory() + File.separator + "aweiapp";

    public static final int CORNER_COMMON = 2;
    public static final int CORNER_IMG_COMMON = 10;

    /**
     * 环境切换开关控制
     */
    public static final boolean IS_TEST = true;

    /** 网络请求，不需要重试的请求路径清单，路径包涵 */
    public static final String[] NET_RETRY_FILTER_LIST = {
            "/ctrl/",//智控远程操作全部过滤掉
    };
    /**
     *  网络请求时最大的重试次数
     */
    public static final int NET_REQUEST_MAX_RETRY_COUNT = 3;

}
